#Syntax = docker/dockerfile:1.0-experimental
# Go build stage
FROM arm32v7/ubuntu:latest as wails_arm
RUN apt-get update -y \
    && apt-get install golang -y \
    && go env -w GOPROXY=https://proxy.golang.com.cn,direct \
    && go version \
    && apt-get install git -y \
    && apt-get install libgtk-3-dev -y \
    && apt-get install libwebkit2gtk-4.0-dev -y
#ENV http_proxy "http://192.168.2.45:8888"
#ENV https_proxy "http://192.168.2.45:8888"
#env GOSUMDB "off"
RUN  GO111MODULE=on go install github.com/wailsapp/wails/v2/cmd/wails@master
